Compare commits

...

No commits in common. 'i9-libreoffice' and 'f41' have entirely different histories.

2
.gitignore vendored

@ -1 +1 @@
SOURCES/zxcvbn-c-2.5.tar.gz /zxcvbn-c-2.5.tar.gz

@ -1 +0,0 @@
f6f234ba5cbc448081ff10e7ed89a7afb42c4853 SOURCES/zxcvbn-c-2.5.tar.gz

@ -0,0 +1,3 @@
# zxcvbn-c
The zxcvbn-c package

@ -0,0 +1 @@
SHA512 (zxcvbn-c-2.5.tar.gz) = d7199b3cc36cd0e401bd8f857132425908307aefcdb1bb635ee81c34cf71ccbcdf0fe36a336a55da1281692b508881b54773afa41379a448863095f4abd5c0e8

@ -1,16 +1,3 @@
## START: Set by rpmautospec
## (rpmautospec version 0.3.5)
## RPMAUTOSPEC: autorelease, autochangelog
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
release_number = 3;
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
print(release_number + base_release_number - 1);
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
## END: Set by rpmautospec
# debuginfo is broken
%define debug_package %{nil}
%global forgeurl https://github.com/tsyrogit/zxcvbn-c %global forgeurl https://github.com/tsyrogit/zxcvbn-c
Version: 2.5 Version: 2.5
%forgemeta %forgemeta
@ -58,9 +45,6 @@ developing applications that use %{name}
%{__mkdir_p} %{buildroot}%{_bindir} %{__mkdir_p} %{buildroot}%{_bindir}
%{__mkdir_p} %{buildroot}{%{_includedir},%{_datadir}}/zxcvbn %{__mkdir_p} %{buildroot}{%{_includedir},%{_datadir}}/zxcvbn
install -p -m 0644 *.h %{buildroot}%{_includedir}/zxcvbn install -p -m 0644 *.h %{buildroot}%{_includedir}/zxcvbn
# Libreoffice 24.2.0.1 saca error de que no encuentra la zxcvbn.h
# Este es el workaround:
ln -s zxcvbn/zxcvbn.h %{buildroot}%{_includedir}/
cp -a libzxcvbn.so* %{buildroot}%{_libdir} cp -a libzxcvbn.so* %{buildroot}%{_libdir}
install -p -m 0755 dictgen %{buildroot}%{_bindir} install -p -m 0755 dictgen %{buildroot}%{_bindir}
install -p -m 0644 zxcvbn.dict %{buildroot}%{_datadir}/zxcvbn install -p -m 0644 zxcvbn.dict %{buildroot}%{_datadir}/zxcvbn
@ -80,20 +64,8 @@ make test
%files devel %files devel
%{_includedir}/zxcvbn %{_includedir}/zxcvbn
# Workaround para libreoffice 24.2.0.1
%{_includedir}/zxcvbn.h
%{_libdir}/libzxcvbn.so %{_libdir}/libzxcvbn.so
%changelog %changelog
* Sat May 11 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 2.5-3 %autochangelog
- Rebuilt for MSVSphere 9.4
* Mon Jan 22 2024 Sandino Araico Sánchez <sandino@sandino.net> - 2.5-3
- Workaround for Libreoffice 24.2.0.1: symbolic link
* Tue Jan 16 2024 Sandino Araico Sánchez <sandino@sandino.net> - 2.5-2
- Disabled broken debug package
* Fri Dec 15 2023 Mattia Verga <mattia.verga@proton.me> - 2.5-1
- Initial release (fedora#2253977)
Loading…
Cancel
Save